package com.gubei.subject.domain.convert;

import com.gubei.subject.domain.entity.SubjectLabelBO;
import com.gubei.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelConverter {

    SubjectLabelConverter INSTANCE = Mappers.getMapper(SubjectLabelConverter.class);

    SubjectLabelBO convertLabelToLabelBO(SubjectLabel subjectLabel);

    SubjectLabel convertLabelBOToLabel(SubjectLabelBO subjectLabelBO);

    List<SubjectLabelBO> convertLabelListToLabelBOList(List<SubjectLabel> subjectLabelList);

    List<SubjectLabel> convertLabelBOListToLabelList(List<SubjectLabelBO> subjectLabelBOList);
}
